﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Macds.Core.XML.Excel
{
    public class ExcelColumn : ExcelBase
    {
        public int Width { get; set; }

        public ExcelColumn()
        {
            this.Width = 80;
        }

        public override string ToString()
        {
            StringBuilder content = new StringBuilder();
            content.Append("<ss:Column ss:Width=\"" + this.Width.ToString() + "\"/>\r\n");

            return content.ToString();
        }
    }
}
